import 'dart:convert';
/// newDocumentSum : {"newDocumentSum":158014,"sysDocumentSum":149975,"cloudDocumentSum":8009,"ownUploadDocumentSum":30}
/// reviewedDocumentSum : {"newDocumentSum":41744,"sysDocumentSum":41583,"cloudDocumentSum":143,"ownUploadDocumentSum":18}

DocSum docSumFromJson(String str) => DocSum.fromJson(json.decode(str));
String docSumToJson(DocSum data) => json.encode(data.toJson());
class DocSum {
  DocSum({
      this.newDocumentSum, 
      this.reviewedDocumentSum,});

  DocSum.fromJson(dynamic json) {
    newDocumentSum = json['newDocumentSum'] != null ? NewDocumentSum.fromJson(json['newDocumentSum']) : null;
    reviewedDocumentSum = json['reviewedDocumentSum'] != null ? ReviewedDocumentSum.fromJson(json['reviewedDocumentSum']) : null;
  }
  NewDocumentSum? newDocumentSum;
  ReviewedDocumentSum? reviewedDocumentSum;
DocSum copyWith({  NewDocumentSum? newDocumentSum,
  ReviewedDocumentSum? reviewedDocumentSum,
}) => DocSum(  newDocumentSum: newDocumentSum ?? this.newDocumentSum,
  reviewedDocumentSum: reviewedDocumentSum ?? this.reviewedDocumentSum,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (newDocumentSum != null) {
      map['newDocumentSum'] = newDocumentSum?.toJson();
    }
    if (reviewedDocumentSum != null) {
      map['reviewedDocumentSum'] = reviewedDocumentSum?.toJson();
    }
    return map;
  }

}

/// newDocumentSum : 41744
/// sysDocumentSum : 41583
/// cloudDocumentSum : 143
/// ownUploadDocumentSum : 18

ReviewedDocumentSum reviewedDocumentSumFromJson(String str) => ReviewedDocumentSum.fromJson(json.decode(str));
String reviewedDocumentSumToJson(ReviewedDocumentSum data) => json.encode(data.toJson());
class ReviewedDocumentSum {
  ReviewedDocumentSum({
      this.newDocumentSum, 
      this.sysDocumentSum, 
      this.cloudDocumentSum, 
      this.ownUploadDocumentSum,});

  ReviewedDocumentSum.fromJson(dynamic json) {
    newDocumentSum = json['newDocumentSum'];
    sysDocumentSum = json['sysDocumentSum'];
    cloudDocumentSum = json['cloudDocumentSum'];
    ownUploadDocumentSum = json['ownUploadDocumentSum'];
  }
  num? newDocumentSum;
  num? sysDocumentSum;
  num? cloudDocumentSum;
  num? ownUploadDocumentSum;
ReviewedDocumentSum copyWith({  num? newDocumentSum,
  num? sysDocumentSum,
  num? cloudDocumentSum,
  num? ownUploadDocumentSum,
}) => ReviewedDocumentSum(  newDocumentSum: newDocumentSum ?? this.newDocumentSum,
  sysDocumentSum: sysDocumentSum ?? this.sysDocumentSum,
  cloudDocumentSum: cloudDocumentSum ?? this.cloudDocumentSum,
  ownUploadDocumentSum: ownUploadDocumentSum ?? this.ownUploadDocumentSum,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['newDocumentSum'] = newDocumentSum;
    map['sysDocumentSum'] = sysDocumentSum;
    map['cloudDocumentSum'] = cloudDocumentSum;
    map['ownUploadDocumentSum'] = ownUploadDocumentSum;
    return map;
  }

}

/// newDocumentSum : 158014
/// sysDocumentSum : 149975
/// cloudDocumentSum : 8009
/// ownUploadDocumentSum : 30

NewDocumentSum newDocumentSumFromJson(String str) => NewDocumentSum.fromJson(json.decode(str));
String newDocumentSumToJson(NewDocumentSum data) => json.encode(data.toJson());
class NewDocumentSum {
  NewDocumentSum({
      this.newDocumentSum, 
      this.sysDocumentSum, 
      this.cloudDocumentSum, 
      this.ownUploadDocumentSum,});

  NewDocumentSum.fromJson(dynamic json) {
    newDocumentSum = json['newDocumentSum'];
    sysDocumentSum = json['sysDocumentSum'];
    cloudDocumentSum = json['cloudDocumentSum'];
    ownUploadDocumentSum = json['ownUploadDocumentSum'];
  }
  num? newDocumentSum;
  num? sysDocumentSum;
  num? cloudDocumentSum;
  num? ownUploadDocumentSum;
NewDocumentSum copyWith({  num? newDocumentSum,
  num? sysDocumentSum,
  num? cloudDocumentSum,
  num? ownUploadDocumentSum,
}) => NewDocumentSum(  newDocumentSum: newDocumentSum ?? this.newDocumentSum,
  sysDocumentSum: sysDocumentSum ?? this.sysDocumentSum,
  cloudDocumentSum: cloudDocumentSum ?? this.cloudDocumentSum,
  ownUploadDocumentSum: ownUploadDocumentSum ?? this.ownUploadDocumentSum,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['newDocumentSum'] = newDocumentSum;
    map['sysDocumentSum'] = sysDocumentSum;
    map['cloudDocumentSum'] = cloudDocumentSum;
    map['ownUploadDocumentSum'] = ownUploadDocumentSum;
    return map;
  }

}